<!DOCTYPE html>
<html>
  
  <head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.0</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
 <link rel="stylesheet" href="../static/css/back/font.css">
    <link rel="stylesheet" href="../static/css/back/xadmin.css">
    <script type="text/javascript" src="../static/js/jquery-2.1.1.min.js"></script>
    
    <script type="text/javascript" src="../static/js/back/xadmin.js"></script>
    <script type="text/javascript" src="../static/js/back/order-commont.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
<style type="text/css">
.search-btn {
	margin-left: 10px;
}

/*全屏显示大图*/
.opacityBottom{
    width: 90%;
    height: 90%;
    position: fixed;
    background:rgba(0,0,0,0.8);
    z-index:1000;
    top: 5%;
    left: 5%;
    overflow-y:auto; 
}
.none-scroll{
    overflow: hidden;
    height: 100%;
}
.bigImg{
    width:100%;
    left:0%;
    top:10%;
    z-index: 10001;
 
}
</style>
</head>
  
  <body>
    <div class="x-nav">
      <span class="layui-breadcrumb">
        <a href="javascript:;">首页</a>
        <a href="javascript:;">评论管理</a>
        <a href="javascript:;"><cite>评论列表</cite></a>
      </span>
      <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
        <i class="iconfont icon-refresh right-top-ref" ></i></a>
    </div>
    <div class="x-body">
      <div class="layui-row">
       <form action="#" class="layui-form layui-col-md12 x-so" onsubmit="javascript:return false;">
				<div class="layui-form-item">
  					<label class="layui-form-label">满意程度</label>
				    <div class="layui-input-block">
					      <input type="radio" name="star" value="" title="全部" checked=""  lay-filter='stat'>
					      <input type="radio" name="star" value="4,5" title="好评" lay-filter='stat'>
					      <input type="radio" name="star" value="3" title="中评"  lay-filter='stat'> 
					      <input type="radio" name="star" value="1,2" title="差评"  lay-filter='stat'>
					</div>
				 </div>
				<div class="layui-form-item">
				    <label class="layui-form-label">有无内容</label>
				    <div class="layui-input-block">
					      <input type="radio" name="hasCon" value="" title="全部" checked=""  lay-filter='hasCon'>
					      <input type="radio" name="hasCon" value="1" title="有内容"  lay-filter='hasCon'>
					      <input type="radio" name="hasCon" value="2" title="无内容"  lay-filter='hasCon'> 
					</div>
				 </div>
				 <div class="layui-form-item">
					<label for="" class="layui-form-label">选择时间 </label>
					<div class="layui-input-block">
						<input class="layui-input" placeholder="开始日" name="start"
							id="startTime"> - <input class="layui-input"
							placeholder="截止日" name="end" id="endTime">
				          <button class="layui-btn search-btn"  lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i>查询</button>
				          <button type="reset" class="layui-btn layui-btn-primary">重置</button>
					</div>
              </div>
        </form>
      </div>
      <xblock>
<!--         <button class="layui-btn layui-btn-danger" onclick="delAll()"><i class="layui-icon"></i>批量删除</button> -->
<!--         <button class="layui-btn" onclick="x_admin_show('添加管理员','./banner-add.html?type=add',551,580)"><i class="layui-icon"></i>添加</button> -->
        <span class="x-right" style="line-height:40px">共有数据：0 条</span>
      </xblock>
      <table class="layui-table">
        <thead>
          <tr>
<!--             <th> -->
<!--               <div class="layui-unselect header layui-form-checkbox" lay-skin="primary"><i class="layui-icon">&#xe605;</i></div> -->
<!--             </th> -->
            <th>排序</th>
            <th>评价用户</th>
            <th>评星数</th>
            <th>评价内容</th>
            <th>图片</th>
            <th>订单详情</th>
            <th>评价时间</th>
            <th>操作</th>
        </thead>
        <tbody>
        </tbody>
      </table>
      <div class="layui-form-mid layui-word-aux no-more-data hide">暂无更多数据</div>
      <div class="page mypage" ></div> 
      </div>
    <script>
    layui.use(['laydate','form'], function(){
	    var laydate = layui.laydate
	    ,form = layui.form;
	    
	    //执行一个laydate实例
	    laydate.render({
	      elem: '#startTime' //指定元素
	    });
	    //执行一个laydate实例
	    laydate.render({
	      elem: '#endTime' //指定元素
	    });
	    form.on('radio(stat)', function(data){
        	getListByStat(data.value);
      	}); 
	    form.on('radio(hasCon)', function(data){
        	getListByHasCon(data.value);
      	}); 
	  });
    </script>
  </body>
</html>